﻿@{
    var noCache = System.Configuration.ConfigurationManager.AppSettings["httpNoCache"].ToBoolean();
}
<!DOCTYPE html>
<html>
<head>
    <!--页面内容类型-->
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <!--页面编码-->
    <meta charset="utf-8">
    <!--移动端显示比例控制-->
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <!--渲染内核-->
    <meta name="renderer" content="webkit">
    <!--禁止转码-->
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    @if (noCache)
    {
        <!--禁止缓存-->
        <meta http-equiv="Cache-Control" content="no-cache" />
    }

    <title>@ViewBag.Title</title>
    @Styles.Render("~/bootstrap/css")
    @Styles.Render("~/font-awesome")
    @Styles.Render("~/animate")
    <style>
        body {
            overflow: hidden;
        }
    </style>
    @RenderSection("head", false)
    @Scripts.Render("~/jquery")
</head>
<body class="@ViewBag.BodyClass">
    @RenderBody()
    @Scripts.Render("~/bootstrap/js")
    @RenderSection("scripts", required: false)
</body>
</html>
